<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<c:forEach items="${memberList}" var="member">
	<c:if test="${type == 0 || type == 1}">
		<tr onclick="seller('${member[2] }', '${type }')" class="td1" onmouseover="this.style.cursor='hand'"
			<c:if test="${member[6] == 2}"> style="color:red" </c:if>
		>
	</c:if>
		<td style="width: 30%; text-align: center;">
			<c:if test="${member[3] == '' || member[3] == 'null' || member[3] == null }">
				${member[4] }
			</c:if>
			<c:if test="${member[3] != '' && member[3] != 'null' || member[3] == null }">
				${member[3] }
			</c:if>
		</td>
		<td style="width: 40%; text-align: center;">${member[4] }</td>
		<c:if test="${type == 0 }">
			<td style="width: 30%; text-align: center;">
				<c:if test="${member[0] == null }">0</c:if>
				<c:if test="${member[0] != null }">${member[0] }</c:if>/
				<c:if test="${member[1] == null }">0</c:if>
				<c:if test="${member[1] != null }">${member[1] }</c:if>
			</td>
		</c:if>
		<c:if test="${type == 1 || type == 2 }">
			<td style="width: 30%; text-align: center;">
				<c:if test="${member[0] == null }">0</c:if>
				<c:if test="${member[0] != null }">${member[0] }</c:if>
			</td>
		</c:if>
	</tr>
</c:forEach>
<input type="hidden" id="pageCount" value="${count}" />
